import PostItem from './post-item'

export default function PostList ({postList}) {
  return postList.map(post => {
    return <PostItem post={post} key={post.id} />
  })
}
